package com.ssy.lingxi.order.model.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 扣减、返还营销活动记录DTO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-11-19
 */
public class PromotionNotifyDTO implements Serializable {
    private static final long serialVersionUID = -85970153454457280L;

    /**
     * 商品skuId
     */
    private Long skuId;

    /**
     * 商品到手价
     */
    private BigDecimal refPrice;

    /**
     * 商品购买数量【取消订单，退货为负数】
     */
    private BigDecimal quantity;

    /**
     * 订单编号
     */
    private String orderNo;

    /**
     * 商品关联的营销活动
     */
    private List<PromotionDTO> promotions;

    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    public BigDecimal getRefPrice() {
        return refPrice;
    }

    public void setRefPrice(BigDecimal refPrice) {
        this.refPrice = refPrice;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public List<PromotionDTO> getPromotions() {
        return promotions;
    }

    public void setPromotions(List<PromotionDTO> promotions) {
        this.promotions = promotions;
    }
}
